Error when starting the development environment

This article contains a possible solution, if particular messages are displayed when starting Neuron Power Engineer.

Symptom 1: The following messages appear in the Error Log view:

  • Unable to load class "name" from bundle "number"

  • Unable to create resource URLImageDescriptor(platform:/plugin/com.logicals.common.ui/resources/icons/application_navigator_tab_icon_16x16x32.png)

Causes

Solution

You have installed different versions of Neuron Power Engineer.
You are using the same workspace per started version of Neuron Power Engineer.

  1. Close Neuron Power Engineer.

  2. Restart Neuron Power Engineer and enter a new workspace.
    Use a separate workspace for each started version of Neuron Power Engineer.

  3. Import the required projects into this workspace.

You use a workspace from a previous version of Neuron Power Engineer.

  1. Close Neuron Power Engineer.

  2. Start a command prompt and go to the folder where you installed Neuron Power Engineer.

  3. Enter this command: NeuronPowerEngineer.exe -clearPersistedState

Afterwards you are able to start Neuron Power Engineer by double-clicking NeuronPowerEngineer.exe again.
The message is not displayed any longer.

Symptom 2: The following message appears: The default workspace "path/name" is in use or cannot be created. Please choose a different one.

Cause

Solution

You have imported a larger project in Neuron Power Engineer. This might have took some time because the workspace was being refreshed/built as well. For this action,Neuron Power Engineer has locked the workspace.
You have exited Neuron Power Engineer before Neuron Power Engineer has finished building the workspace and the lock has been removed.

  1. Close Neuron Power Engineer.

  2. Go to the folder of the workspace. Switch to this sub-folder: .metadata

  3. Delete this file: .lock

  4. Restart Neuron Power Engineer.

If the message is still displayed, close Neuron Power Engineer again and reboot the computer before restarting Neuron Power Engineer.

Symptom 3:  The following internal message appears in the Error Log view: An internal error occurred during: "action"

Cause

Solution

You have imported a larger project in Neuron Power Engineer. This might have took some time because the workspace was being refreshed/built as well.
You have exited Neuron Power Engineer before the specified action has been finished successfully.

  1. Close Neuron Power Engineer.

  2. Restart Neuron Power Engineer and enter a new workspace.

  3. Import the required projects into this workspace without exiting Neuron Power Engineer too early.

Symptom 4: The following internal message appears in the Error Log view: The -clean (osgi.clean) option was not successful. Unable to clean the storage area: path\configuration\org.eclipse.osgi

Cause

Solution

You have exited and restarted  Neuron Power Engineer at once using the same workspace. However, the saving of the workspace was not finished yet before the restart of Neuron Power Engineer.

Usually, you are able to ignore this message 

Best practice for the future starts of Neuron Power Engineer is to wait a few seconds before you restart Neuron Power Engineer.